package com.liurong.domain;

import java.io.Serializable;
import java.util.List;


/**
 * 用户dto类
 * 
 * @author lr
 *
 */
public class AciveUser implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 用户id
	 */
	private String id;
	/**
	 * 用户账号
	 */
	private String userCode;
	/**
	 * 用户姓名
	 */
	private String userName;
	/**
	 * 菜单
	 */
	private List<SysPermission> menus;
	/**
	 * 权限
	 */
	private List<SysPermission> permissions;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public List<SysPermission> getMenus() {
		return menus;
	}
	public void setMenus(List<SysPermission> menus) {
		this.menus = menus;
	}
	public List<SysPermission> getPermissions() {
		return permissions;
	}
	public void setPermissions(List<SysPermission> permissions) {
		this.permissions = permissions;
	}
	@Override
	public String toString() {
		return "AciveUser [id=" + id + ", userCode=" + userCode + ", userName="
				+ userName + ", menus=" + menus + ", permissions="
				+ permissions + "]";
	}
}
